<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>操作提示</title>
</head>
<body>
<div style="font-size: 38px;font-weight: bold;margin: 15px 0;">{$message?:'操作成功！'}</div>
<span>
	页面自动 <a id="jump" href="{$url?:'javascript:history.back(-1)'}">跳转</a> 等待时间： <span id="time"></span> 秒
</span>
<div style="margin: 20px 0;color: gray;font-size: .7em;">
	Powered By <a href="http://www.ebcms.com" target="_blank">EBCMS</a>!
</div>
<script>
	var num = 3;
	document.getElementById("time").innerHTML=num;
	setInterval(function(){
		num -= 1;
		if (num <= 0) {
			if(document.all) {
				document.getElementById("jump").click();
			}else {
				var e = document.createEvent("MouseEvents");
				e.initEvent("click", true, true);
				document.getElementById("jump").dispatchEvent(e);
			}
		}else{
			document.getElementById("time").innerHTML=num;
		}
	}, 1000);
</script>
</body>
</html>